package com.charm.businesshub.api

import com.charm.businesshub.entity.NewsListItemEntity
import com.charm.codes.entity.Xentity
import io.reactivex.Observable
import retrofit2.http.GET
import retrofit2.http.Query

/**
 * Created by tools on 2018/1/5.
 */
interface HubService {
    @GET("/news/qihoo")
    fun newsList(@Query("kw") kw: String, @Query("site") site: String, @Query("apikey") apikey: String): Observable<Xentity<List<NewsListItemEntity>>>
}